<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="__STATIC__/Home/jquery-1.7.2.min.js"></script>
<link rel="stylesheet" href="__STATIC__/Home/css/ord_cen.css" />
<title>用户中心-卷皮网</title>
</head>

<body>
<!--载入顶部-->
<include file="__VIEW__/Common/header"/>

<!-- 头部开始 -->
<div id="header">
	<div id="top">
		<div class="logo">
			<a href="__WEB__"></a>
		</div>
		<div class="center"></div>
	</div>
	
</div>
<!-- logo结束 -->

<!-- 导航开始 -->
<div id="mainNav">
	<div class="nav">
		<ul>
			<li class="first"><a href="javascript:;">我的卷皮</a></li>
			<li><a href="{|U:'Member/index'}">账号设置</a></li>
			<!--<li><a href="">消息中心</a></li>-->
			<li class="ind">
			<a href="__WEB__">卷皮首页>></a></li>
		</ul>
	</div>
</div>
<!-- 导航结束 -->



<!-- 个人信息开始 -->
<div id="info">
	<div class="info_l">
		<div class="order">我的订单</div>
		<div <if value="$_GET['w']==0">class="one"</if>>
			<a class="list" href="{|U:'index',array('w'=>0)}">全部订单&nbsp;
				<span <if value="$_GET['w']==0">style="color: #fff;"</if> >
					<if value="$order">
					{$count.allOrder}
					<else/>0</if>
				</span>
			</a>
		</div>
		<div <if value="$_GET['w']==1">class="one"</if>>
			<a class="list" href="{|U:'index',array('w'=>1)}">待付款&nbsp;
				<span <if value="$_GET['w']==1">style="color: #fff;"</if> >
					<if value="$order">
					{$count.loadOrder}
					<else/>0</if>
				</span>
			</a>
		</div>
		<div <if value="$_GET['w']==2">class="one"</if>>
			<a class="list" href="{|U:'index',array('w'=>2)}">运送中&nbsp;
				<span <if value="$_GET['w']==2">style="color: #fff;"</if> >
					<if value="$order">
					{$count.goOrder}
					<else/>0</if>
				</span>
			</a>
		</div>
	</div>
	<div class="info_r">
		<div class="top">
			<div class="top_l">
				<a class="head" href="{|U:'Member/index'}" style="background: url(__STATIC__/Home/images/ph-layer.png) no-repeat;background-color: #F8285C;"></a>
			</div>
			<div class="top_r">
				<div class="li max"><span class="bg1"></span><a href="{|U:'Member/index'}">基本资料</a></div>
				<div class="li max"><span class="bg2"></span><a href="{|U:'Member/index',array('w'=>1)}">收获地址</a></div>
			</div>
		</div>
		<div class="con">
			<span>全部订单</span>
			（最近三个月订单）
			<a href="">查看所有订单>></a>
		</div>
		
		<if value="$order">
		<foreach from="$order" key="$k" value="$v">
		<!--商品列表开始-->
		<div class="dianpu">
			<span>{$v.time|date:'Y-m-d H:i:s',@@}</span>
			订单号：<span>{$v.number}</span>
		</div>
		<table>
			<foreach from="$v['list']" key="$key" value="$value">
			<tr class="tr">
				<td class="li1">
					<a href=""><img src="__ROOT__/{$value.img}" alt="" /></a>
					<a href="">{$value.gname}</a><br /><br />
					规格：{$value.spec}
				</td>
				
				<if value="$key==0">
					<td class="li2" rowspan="">
						<i>￥</i><span>{$value.total}</span>
					</td>
					<td class="li3" rowspan="">
						{$value.status}
					</td>
					<if value="$value['status']=='待付款'">
						<td class="li4" rowspan="">
							<a class="fukuan" href="{|U:'Order/pay',array('oid'=>$value['oid'])}">去付款</a>
							<a class="quxiao" href="{|U:'delOrder',array('oid'=>$value['oid'])}">取消订单</a>
						</td>
					</if>
					<if value="$value['status']=='已付款' or $value['status']=='已发货'">
						<td class="li4" rowspan="">
							<a class="fukuan" href="javascript:;" style="background: #9CF800;">已付款</a>
							<a class="fukuan" href="{|U:'Sure',array('oid'=>$value['oid'])}" style="background: #57C1FD;">确认收货</a>
						</td>
					</if>
					<if value="$value['status']=='已收货'">
						<td class="li4" rowspan="">
							<a class="fukuan" href="javascript:;" style="background: #999;">交易完成</a>
						</td>
					</if>
				</if>
				<script type="text/javascript">
					$(function(){
						var leng = $('.tr').length;
						$('.li2').attr("rowspan",leng);
						$('.li3').attr("rowspan",leng);
						$('.li4').attr("rowspan",leng);
					})
				</script>
			</tr>
			</foreach>
		</table>
		<!--商品列表结束-->
		</foreach>
		<else/>
			<div class="bot">
				<div class="null">
					您的订单下还没有购买过的商品哦~
				</div>
				<div class="go">
					快来选购自己心仪的商品吧~<br />
				去<a href="">首页</a>看看
				</div>
			</div>
		</if>
		
	</div>
</div>
<!-- 个人信息分页结束 -->

<div id="hr"></div>

<!-- 底部开始 -->
<div id="bottom">
	<div class="bo_l">
		<img src="__STATIC__/Home/images/jp-app-90.png" alt="" /><br />
		扫描二维码下载
	</div>
	<div class="bo_c">
		<ul>
     		<p>获取更新</p>
			<li>●&nbsp;<a href="">iPhone/Android</a></li>
			<li>●&nbsp;<a href="">卷皮QQ空间</a></li>
			<li>●&nbsp;<a href="">卷皮新浪微博</a></li>
			<li>●&nbsp;<a href="">开放API</a></li>
		</ul>
		<ul>
     		<p>商务合作</p>
			<li>●&nbsp;<a href="">卖家免费报名</a></li>
			<li>●&nbsp;<a href="">商务合作</a></li>
			<li>●&nbsp;<a href="">廉政邮箱</a></li>
			<li>●&nbsp;<a href="">lianzheng@juanpi.com</a></li>
		</ul>
		<ul>
     		<p>公司信息</p>
			<li>●&nbsp;<a href="">关于卷皮</a></li>
			<li>●&nbsp;<a href="">媒体报道</a></li>
			<li>●&nbsp;<a href="">诚聘英才</a></li>
			<li>●&nbsp;<a href="">校园大使招募</a></li>
		</ul>
		<ul>
     		<p>帮助中心</p>
			<li>●&nbsp;<a href="">新手上路</a></li>
			<li>●&nbsp;<a href="">积分攻略</a></li>
			<li>●&nbsp;<a href="">网站地图</a></li>
		</ul>
	</div>
	<div class="bo_r">
		<a href=""></a>
		<span>周一至周日<br />9:00-22:00</span>
	</div>
</div>
<!-- 友情链接 -->
<div id="flink">
	 友情链接：
    <a href="">国画</a>
    <a href="">齐家装修</a>
    <a href="">大朴网</a>
    <a href="">世界名表</a>
    <a href="">葡萄酒</a>
    <a href="">易登网</a>
    <a href="">普洱茶</a>
    <a href="">中关村商城</a>
    <a href="">品牌鞋</a>
    <a href="">乐蜂网优惠券</a>
    <a href="">精选折扣</a>
    <a href="">拍鞋网官网</a>
	<a class="more" href="">更多>></a>
</div>


<div id="copy">
	武汉奇米网络科技有限公司 鄂ICP备10209250号　　Copyright © 2010 -2015 JuanPi.com All Rights Reserved
</div>

<div id="safe">
	<a href=""><img src="__STATIC__/Home/images/r_315online.gif" alt="" /></a>
	<a href=""><img src="__STATIC__/Home/images/r_cnnic.gif" alt="" /></a>
	<a href=""><img src="__STATIC__/Home/images/r_gongshang.gif" alt="" /></a>
	<a href=""><img src="__STATIC__/Home/images/sm_124x47.png" alt="" /></a>
</div>
<!-- 底部结束 -->
</body>
</html>
